package com.example.tool.activtiy;

import android.support.v7.widget.CardView;
import android.view.View;
import android.widget.TextView;

import com.example.tool.R;
import com.example.tool.activtiy.base.BaseActivity;
import com.example.tool.mvp.CommonPresent;

import butterknife.BindView;

/**
 * Created Date 2019/8/27
 *
 * @author liangkun
 * description：
 */
public class FoldActivity extends BaseActivity<CommonPresent> {
    @BindView(R.id.card_home_one)
    protected CardView button;
    @BindView(R.id.card_home_item)
    protected CardView btnTwo;
    @BindView(R.id.card_home_three)
    protected CardView btnThree;

    @BindView(R.id.tv_home_one)
    protected TextView tvOne;
    @BindView(R.id.tv_home_item)
    protected TextView tvTwo;

    @BindView(R.id.tv_home_item3)
    protected TextView tvThree;


    @Override
    protected int getLayoutId() {
        return R.layout.activity_notificationn;
    }

    @Override
    protected void initView() {
        tvOne.setText("CoordActivity");
        tvTwo.setText("CollapsActivity");
        tvThree.setText("CollapsCardActivity");
    }

    @Override
    protected void initData() {

    }

    @Override
    protected void initEvent() {
        button.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                startToActivity(FoldActivity.this, CoordActivity.class);

            }
        });
        btnTwo.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                startToActivity(FoldActivity.this, CollapsActivity.class);


            }
        });
        btnThree.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                startToActivity(FoldActivity.this, CollapsCardActivity.class);


            }
        });
    }

    @Override
    protected CommonPresent createPresenter() {
        return null;
    }
}
